package com.example.locks.exception;

import lombok.Data;

/**
 * 字典bean
 * 只有code和text，可用于展示下拉框
 *
 * @author shishaopeng
 */
@Data
public class DictBean<T> implements IDict<T> {

    private final T code;

    private final String text;
}